<!--有理想的地方，地狱都是天堂-->
<!--Copyright @ df81.com 版权所有-->
<!--作者: 南国老符 邮箱：1062129401@qq.com-->
                    {if config('app.isdisplay.user') or config('app.isdisplay.feedback') or config('app.isdisplay.shop_order') or config('app.isdisplay.shop_tax') or config('app.isdisplay.shop_coupon') or config('app.isdisplay.comment')}
                    <!-- 数据管理 开始 -->
                    <li class="nav-item has-treeview 
                        {switch controller}
	                        {case value="user|feedback|shop_order|shop_aftersale|shop_tax|shop_coupon|shop_mycoupon|comment|capital_flow|shop_address|log|license"}menu-open{/case}
	                    {/switch}
                        {if $controller eq 'attribute' and (in_array($tabledir,array('feedback','shop_aftersale')))}menu-open{/if}
                    ">
                        <a href="#" class="nav-link 
                            {switch controller}
		                        {case value="user|feedback|shop_order|shop_aftersale|shop_tax|shop_coupon|shop_mycoupon|comment|capital_flow|shop_address|log|license"}active{/case}
		                    {/switch}
                            {if $controller eq 'attribute' and (in_array($tabledir,array('feedback','shop_aftersale')))}menu-open{/if}
	                    ">
                            <i class="fas fa-chart-bar nav-icon"></i><p>{:lang('v_data_manage')}<i class="right fas fa-angle-left mt-2"></i></p>
                        </a>
                        <ul class="nav nav-treeview">
                            {if config('app.other.system_type') neq 'company' and config('app.isdisplay.shop_order') eq 1}
                            <!--订单-->
                            <li class="nav-item has-treeview">
                                <a href="{:url('/shop_order/index',['lang'=>$lang,'tabledir'=>'product'])}" class="nav-link {if $controller eq 'shop_order'}active{/if}">
                                    <i class="fas fa-shopping-cart nav-icon fa-fw"></i>
                                    <p>
                                        {:lang('shopv_order')} {:lang('v_manage')}
                                        {if $controller eq 'shop_order'}<i class="right fas fa-angle-right"></i>{/if}
                                    </p>
                                </a>
                            </li>
                            {/if}
                            <!--留言-->
                            {if config('app.isdisplay.feedback') eq 1}
                            <li class="nav-item has-treeview">
                                <a href="{:url('/feedback/index',['lang'=>$lang,'signid'=>3])}" class="nav-link {if $controller eq 'feedback' or ($controller eq 'attribute' and $tabledir eq 'feedback')}active{/if}">
                                    <i class="fas fa-comment-dots nav-icon fa-fw"></i>
                                    <p>
                                    	{:lang('v_feedback')} {:lang('v_manage')}
                                    	{if $controller eq 'feedback' or ($controller eq 'attribute' and $tabledir eq 'feedback')}<i class="right fas fa-angle-right"></i>{/if}
                                    </p>
                                </a>
                            </li>
                            {/if}
                            <!--会员-->
                            {if config('app.isdisplay.user') eq 1}
                            <li class="nav-item has-treeview">
                                <a href="{:url('/user/index',['lang'=>$lang])}" class="nav-link {eq name="controller" value="user"}active{/eq}">
                                    <i class="fas fa-user nav-icon fa-fw"></i>
                                    <p>
                                        {:lang('v_user')} {:lang('v_manage')}
                                        {eq name="controller" value="user"}<i class="right fas fa-angle-right"></i>{/eq}
                                    </p>
                                </a>
                            </li>
                            {/if}
                            <!--短信邮件日志-->
                            <li class="nav-item has-treeview {if config('app.isdisplay.email') neq 1 and config('app.isdisplay.sms') neq 1}d-none{/if}">
                                <a href="{:url('/log/index',['lang'=>$lang])}" class="nav-link {eq name="controller" value="log"}active{/eq}">
                                    <i class="fas fa-info-circle nav-icon fa-fw"></i>
                                    <p>
                                        {:lang('v_log')} {:lang('v_manage')}
                                        {eq name="controller" value="log"}<i class="right fas fa-angle-right"></i>{/eq}
                                    </p>
                                </a>
                            </li>
                            {if config('app.other.system_type') neq 'company'}
                                {if config('app.isdisplay.shop_tax') eq 1}
                                <!--发票-->
                                <li class="nav-item has-treeview">
                                    <a href="{:url('/shop_tax/index',['lang'=>$lang,'signid'=>0])}" class="nav-link {if $controller eq 'shop_tax'}active{/if}">
                                        <i class="fas fa-money-check nav-icon fa-fw"></i>
                                        <p>
                                            {:lang('shopv_tax')} {:lang('v_manage')}
                                            {if $controller eq 'shop_tax'}<i class="right fas fa-angle-right"></i>{/if}
                                        </p>
                                    </a>
                                </li>
                                {/if}
                                {if config('app.isdisplay.shop_order') eq 1}
                                <!--售后退换货-->
                                <li class="nav-item has-treeview">
                                    <a href="{:url('/shop_aftersale/index',['signid'=>1,'lang'=>$lang])}" class="nav-link {if $controller eq 'shop_aftersale' or $tabledir eq 'shop_aftersale'}active{/if}">
                                        <i class="fas fa-recycle nav-icon fa-fw"></i>
                                        <p>
                                            {:lang('shopv_aftersale')}
                                            {if $controller eq 'shop_aftersale' or $tabledir eq 'shop_aftersale'}<i class="right fas fa-angle-right"></i>{/if}
                                        </p>
                                    </a>
                                </li>
                                {/if}
                                {if config('app.isdisplay.shop_coupon') eq 1}
                                <!--优惠券-->
                                <li class="nav-item has-treeview">
                                    <a href="{:url('/shop_coupon/index',['lang'=>$lang])}" class="nav-link {if $controller eq 'shop_coupon' or $controller eq 'shop_mycoupon'}active{/if}">
                                        <i class="fas fa-gift nav-icon fa-fw"></i>
                                        <p>
                                            {:lang('shopv_coupon')} {:lang('v_manage')}
                                            {if $controller eq 'shop_coupon' or $controller eq 'shop_mycoupon'}<i class="right fas fa-angle-right"></i>{/if}
                                        </p>
                                    </a>
                                </li>
                                {/if}
                                <!--评论-->
                                {if config('app.isdisplay.comment') eq 1}
                                <li class="nav-item has-treeview">
                                    <a href="{:url('/comment/index',['lang'=>$lang,'signid'=>3])}" class="nav-link {eq name="controller" value="comment"}active{/eq}">
                                        <i class="fas fa-comments nav-icon fa-fw"></i>
                                        <p>
                                            {:lang('v_comment')} {:lang('v_manage')}
                                            {eq name="controller" value="comment"}<i class="right fas fa-angle-right"></i>{/eq}
                                        </p>
                                    </a>
                                </li>
                                {/if}
                                <!--资金流水-->
                                <li class="nav-item has-treeview">
                                    <a href="{:url('/capital_flow/index',['lang'=>$lang])}" class="nav-link {eq name="controller" value="capital_flow"}active{/eq}">
                                        <i class="fas fa-money-check-alt nav-icon fa-fw"></i>
                                        <p>
                                            {:lang('shopv_capital_flow')}
                                            {eq name="controller" value="capital_flow"}<i class="right fas fa-angle-right"></i>{/eq}
                                        </p>
                                    </a>
                                </li>
                                <!--收货地址-->
                                <li class="nav-item has-treeview">
                                    <a href="{:url('/shop_address/index',['lang'=>$lang])}" class="nav-link {eq name="controller" value="shop_address"}active{/eq}">
                                        <i class="fas fa-building nav-icon fa-fw"></i>
                                        <p>
                                            {:lang('shopv_receive_goods')} {:lang('v_address')}
                                            {eq name="controller" value="shop_address"}<i class="right fas fa-angle-right"></i>{/eq}
                                        </p>
                                    </a>
                                </li>
                            {/if}
                        </ul>
                    </li>
                    <!--数据管理 结束-->
                    {/if}